package com.zhenwei.zscm.common.excel.model;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ContentStyle;
import com.alibaba.excel.enums.poi.HorizontalAlignmentEnum;
import com.alibaba.excel.enums.poi.VerticalAlignmentEnum;
import lombok.Data;
import lombok.EqualsAndHashCode;

@EqualsAndHashCode(callSuper = true)
@Data
@ContentStyle(verticalAlignment = VerticalAlignmentEnum.CENTER)
public class ShippingExcelWriteModelExcel extends ExcelBaseModel {
    @ExcelProperty(value = "订单编号",index = 0)
    private String poNumber;
    @ExcelProperty(value = "物料名称", index = 1)
    private String materialName;
    @ExcelProperty(value = "采购主体", index = 2)
    private String purchaseCompany;
    @ExcelProperty(value = "收货地址",index = 4)
    private String address;
    @ExcelProperty(value = "出货日期", index = 5)
    private String shippingDate;
    @ExcelProperty(value = "SN", index = 6)
    private String sn;
    @ExcelProperty(value = "物流公司", index = 7)
    @ContentStyle(verticalAlignment = VerticalAlignmentEnum.CENTER, horizontalAlignment = HorizontalAlignmentEnum.CENTER)
    private String logisticsCompany;
    @ExcelProperty(value = "物流单号", index = 8)
    @ContentStyle(verticalAlignment = VerticalAlignmentEnum.CENTER, horizontalAlignment = HorizontalAlignmentEnum.CENTER)
    private String logisticsNumber;
    @ExcelProperty(value = "联系人", index = 9)
    @ContentStyle(verticalAlignment = VerticalAlignmentEnum.CENTER, horizontalAlignment = HorizontalAlignmentEnum.CENTER)
    private String contactor;
    @ExcelProperty(value = "联系人电话",index = 10)
    @ContentStyle(verticalAlignment = VerticalAlignmentEnum.CENTER, horizontalAlignment = HorizontalAlignmentEnum.CENTER)
    private String telephone;
    @ExcelProperty(value = "订单日期", index = 11)
    @ContentStyle(verticalAlignment = VerticalAlignmentEnum.CENTER, horizontalAlignment = HorizontalAlignmentEnum.CENTER)
    private String createDate;
    @ExcelProperty(value = "订单数量", index = 3)
    @ContentStyle(verticalAlignment = VerticalAlignmentEnum.CENTER, horizontalAlignment = HorizontalAlignmentEnum.CENTER)
    private String count;
}
